package com.guoxin.chapter3.join.joinmoretest;

/**
 * @author guoxin
 * @date 2019年8月23日
 */
public class Run {
	public static void main(String[] args) throws InterruptedException {
		ThreadB threadB = new ThreadB();
		ThreadA threadA = new ThreadA(threadB);
		threadA.start();
		threadB.start();
		threadB.join(2000);
		System.out.println("main end"+System.currentTimeMillis());
	}
}
